Inspector: Preserve selection when rescanning
authorMatthias Clasen <mclasen@redhat.com>
Sun, 2 Aug 2015 19:20:17 +0000 (15:20 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 2 Aug 2015 19:20:17 +0000 (15:20 -0400)
commit142efd186ded65597d3c7b32b0b6471c8d68f384
tree8351fa07e9bd015872d51bca17249b7284c74ed5
parentca8f6dd7f6f49bcd7627e5adcebf9f29148b5d3e
Inspector: Preserve selection when rescanning

We are semiregularly repopulating the object tree. Whenever
we do, we loose the selection, needlessly. Do the extra work
to preserve it.

http://bugzilla.gnome.org/show_bug.cgi?id=753130
gtk/inspector/inspect-button.c
gtk/inspector/object-tree.c
gtk/inspector/object-tree.h